package com.lune.job.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lune.job.pojo.Dict;
import com.lune.job.pojo.ResPageBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Caiyilin
 * @since 2022-03-06
 */
public interface IDictService extends IService<Dict> {

    /**
     * 分页查询字典
     * @param currentPage
     * @param size
     * @param dict
     * @return
     */
    ResPageBean getAllDictByPage(Integer currentPage, Integer size, Dict dict);


    List<Dict> queryDict(Dict dict);
}
